//////////////////////////////////////////////////////////////////////////
// FileName:CommonEnum.cs
// CreateBy:Fenky
// CreateDate:2009-11-06
// Description:
//		For All Enum Class
//      
// Modify Log:091109: Add comment and some enums --DragonXiong
//            091110: Add WorkMode --DragonXiong
//            091222; Add Issue Status --DragonXiong
//            20100108:Add Button Type
//	
// Copyright:ASL-MIS
/////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Text;

namespace Auto.Web.Common
{
    /// <summary>
    /// Phrase Value
    /// </summary>
    public enum Phrase
    {
        #region --PMSys--
        /// <summary>
        /// DataBase Type
        /// </summary>
        PMDBType,

        /// <summary>
        /// User Type
        /// </summary>
        PMUserType,

        /// <summary>
        /// Project Status
        /// </summary>
        PMProjStatus,

        /// <summary>
        /// Project Priority
        /// </summary>
        PMPriority,

        /// <summary>
        /// Issue Type
        /// </summary>
        PMIssueClass,

        /// <summary>
        /// Task Level
        /// </summary>
        PMTaskLevel,

        /// <summary>
        /// Issue Status
        /// </summary>
        PMIssueStatus,
        #endregion --PMSys--


        #region --Work Flow--
        /// <summary>
        /// Work Flow Status
        /// </summary>
        WFStatus,

        /// <summary>
        /// Work Flow Type
        /// </summary>
        WFType,
        #endregion --Work Flow--

        #region --BusMan--
        /// <summary>
        /// Management Policy Type
        /// </summary>
        PolicyType,

        /// <summary>
        /// Leader for confirm the driving 
        /// </summary>
        Leader,

        /// <summary>
        /// Driving To
        /// </summary>
        DrivingTo,

        /// <summary>
        /// Insurance Company
        /// </summary>
        InsuranceCompany


        #endregion --BusMan--
    }

    /// <summary>
    /// Edit or Viewing Mode
    /// </summary>
    public enum WorkMode
    {
        /// <summary>
        /// Viewing Mode
        /// </summary>
        Viewing,

        /// <summary>
        /// Edit Mode
        /// </summary>
        Editing
    }

    /// <summary>
    /// Button Operate Type
    /// </summary>
    public enum OButtonType
    {
        /// <summary>
        /// Add Button
        /// </summary>
        OP_ADD,
        /// <summary>
        /// Delete Button
        /// </summary>
        OP_DELETE,
        /// <summary>
        /// Edit Button
        /// </summary>
        OP_EDIT,
        /// <summary>
        /// Modify Button
        /// </summary>
        OP_MODIFY,
        /// <summary>
        /// Search Button
        /// </summary>
        OP_SEARCH,
        /// <summary>
        /// View Button
        /// </summary>
        OP_VIEW,
        /// <summary>
        /// Backup Button
        /// </summary>
        OP_BACKUP,
        /// <summary>
        /// Confrim Button
        /// </summary>
        OP_CFM,
        /// <summary>
        /// DownLoad Button
        /// </summary>
        OP_DOWNLOAD,
        /// <summary>
        /// Print Button
        /// </summary>
        OP_PRINT,
        /// <summary>
        /// Normal Button
        /// </summary>
        OP_NORMAL

    }
}
